home *** CD-ROM | disk | FTP | other *** search
- {$G+,X+}
-
- {Conditional defines that may affect this unit}
- {$I AWDEFINE.INC}
-
- {*********************************************************}
- {* ZMOPT.PAS 1.01 *}
- {* Copyright (c) TurboPower Software 1995 *}
- {* All rights reserved. *}
- {*********************************************************}
-
- unit Zmopt;
-
- interface
-
- uses
- SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
- Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, TComIni;
-
- type
- TZmodemOptionsForm = class(TForm)
- AutoStartBox: TRadioGroup;
- OkBtn: TBitBtn;
- CancelBtn: TBitBtn;
- HelpBtn: TBitBtn;
- procedure OkBtnClick(Sender: TObject);
-
- public
- constructor Create(AOwner : TComponent); override;
- end;
-
- implementation
-
- {$R *.DFM}
-
- constructor TZmodemOptionsForm.Create(AOwner : TComponent);
- begin
- inherited Create(AOwner);
-
- if ZmodemAutoSt then
- AutoStartBox.ItemIndex := 1
- else
- AutoStartBox.ItemIndex := 0;
- end;
-
- procedure TZmodemOptionsForm.OkBtnClick(Sender: TObject);
- begin
- if (AutoStartBox.ItemIndex = 1) then
- ZmodemAutoSt := True
- else
- ZmodemAutoSt := False;
- end;
-
- end.
-
-